package org.dromara.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * English Fault Feedback Object sys_fault_feedback_en
 *
 * @author system
 * @date 2025-10-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_fault_feedback_en", autoResultMap = true)
public class SysFaultFeedbackEn extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * Feedback ID
     */
    @TableId(value = "feedback_id")
    private Long feedbackId;

    /**
     * Excavator Model
     */
    private String excavatorModel;

    /**
     * Fault Part
     */
    private String faultPart;

    /**
     * Fault Symptom
     */
    private String faultSymptom;

    /**
     * Detailed Fault Description
     */
    private String faultDetail;

    /**
     * Remark
     */
    private String remark;

    /**
     * Image URL List (JSON array format)
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> imageUrls;

    /**
     * Status: PENDING-Pending, APPROVED-Approved, REJECTED-Rejected
     */
    private String status;

    /**
     * Audit Remark
     */
    private String auditRemark;

    /**
     * Auditor ID
     */
    private Long auditBy;

    /**
     * Audit Time
     */
    private Date auditTime;

}

